package com.dcy.znoa.service.sys;

import com.dcy.znoa.common.util.pojo.JsonCommon;
import com.dcy.znoa.common.util.pojo.JsonForList;
import com.dcy.znoa.controller.sys.model.urlList.SelectUrlListModel;
import com.dcy.znoa.domain.sys.UrlList;
import java.lang.reflect.InvocationTargetException;

public interface UrlListService {
    JsonForList selectList(SelectUrlListModel selectUrlListModel) throws InvocationTargetException, IllegalAccessException;

    JsonCommon insert(UrlList urlList);

    JsonCommon updateById(UrlList urlList);
    
    //通过角色ID，显示所有角色：已经分配角色checked
    JsonCommon selectUrlListTreeByRoleId(Long roleId);

    JsonCommon selectUrlListTree();

    JsonCommon selectUrlListTreeByOperId(Long operId);

	JsonForList selectUrlListByRoleId(Long roleId);

}
